#include "collidable_obj.hpp"

CollidableObj::CollidableObj():Object(ObjType::UNKNOWN){
    _iscolliable = true;
}


void Collide(CollidableObj* obj1, CollidableObj* obj2){
    if(!obj1 || !obj2)
        return;
    if(obj2->HasColliType(COLLI_SOLID)){
        obj1->GoBack();
    }
}
